namespace FlosVita.Model;

public class Customer(string name, string phone, bool gender, string cardId, DateTime birthDt, int famID)
{
   public int ID { get; set; } 
   public string Name { get; set; } = name; 
   public bool Gender { get; set; } = gender; 
   public DateTime BirthDate { get; set; } = birthDt; 
   public string PhoneNumber { get; set; } = phone;
   public string CardID { get; set; } = cardId;
   public int FamilyID { get; set; } = famID; 
}
// ��ͥ
public class Family(string address)
{
   public int ID { get; set; } 
   public string Address { get; set; } = address; 
}
// ֢״
public class Symptom(string name, string description)
{
   public int ID { get; set; } 
   public string Name { get; set; } = name; 
   public string Description { get; set; } = description; 
}
// ����
public class Disease(string name, string description)
{
   public int ID { get; set; } 
    public string Name { get; set; } = name; 
   public string Description { get; set; } = description; 
}

// ҩ
public class Medicine(string name, string description)
{
   public int ID { get; set; } 
   public string Name { get; set; } = name; 
   public string Description { get; set; } = description; 
}

public class FamilyPerson(int familyID, int personID)
{
   public int FamilyID = familyID; 
   public int PersonID = personID; 
}

public class SymptomCustomer(int symptomID, int personID)
{
   public int SymptomID = symptomID; 
   public int PersonID = personID; 
}

// ֢״ - ����
public class SymptomDisease(int symptomID, int diseaseID)
{
   public int SymptomID = symptomID; 
   public int DiseaseID = diseaseID; 
}

// ֢״- ҩ
public class DiseaseMedicine(int symptomID, int medicineID)
{
   public int SymptomID = symptomID; 
   public int MedicineID = medicineID; 
}